/*
 * Copyright (C), 2007-2018, 铭师堂教育科技有限公司
 * FileName: HostDetail.java
 * Author:   zhaoyi
 * Date:     2018年6月21日 上午10:16:30
 * Description: //模块目的、功能描述      
 * History: //修改记录
 * <author>      <time>      <version>    <desc>
 * 修改人姓名             修改时间            版本号                  描述
 */
package com.secsbrain.cmdb.client.model;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * 主机详情
 * @author zhaoyi
 */
public class HostDetail implements Serializable{

	private static final long serialVersionUID = -143963873424220679L;

	private long id;

    private String serverIp;
    
    private String hostName;

    private String host;

    private Integer cpu;//cpu个数

    private String os;

    private Integer memory;//内存大小

    private String serverDesc;
    
    private String envName;//应用环境名
    
    private Date createTime;//创建时间
    
    private Date updateTime;//更新时间
    
    private List<App> appList;//改主机分配的应用列表

	public long getId() {
		return id;
	}

	public void setId(long id) {
		this.id = id;
	}

	public String getServerIp() {
		return serverIp;
	}

	public void setServerIp(String serverIp) {
		this.serverIp = serverIp;
	}

	public String getHostName() {
		return hostName;
	}

	public void setHostName(String hostName) {
		this.hostName = hostName;
	}

	public String getHost() {
		return host;
	}

	public void setHost(String host) {
		this.host = host;
	}

	public Integer getCpu() {
		return cpu;
	}

	public void setCpu(Integer cpu) {
		this.cpu = cpu;
	}

	public String getOs() {
		return os;
	}

	public void setOs(String os) {
		this.os = os;
	}

	public Integer getMemory() {
		return memory;
	}

	public void setMemory(Integer memory) {
		this.memory = memory;
	}

	public String getServerDesc() {
		return serverDesc;
	}

	public void setServerDesc(String serverDesc) {
		this.serverDesc = serverDesc;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Date getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

	public String getEnvName() {
		return envName;
	}

	public void setEnvName(String envName) {
		this.envName = envName;
	}

	public List<App> getAppList() {
		return appList;
	}

	public void setAppList(List<App> appList) {
		this.appList = appList;
	}
	
}
